Soru & Cevap

Uygulamaya ses kaydetme fonksiyonu eklemek

18.12.2014 - 08:22

Merhaba arkadaşlar ;

 

 

öncelikle bir not alma uygulaması geliştiriyorum fakat buna her not için ses kaydetme ve çalma özelliği eklemek istiyorum. Şu sitede bir örneğini buldum ve inceledim hatta denedim asıl projemin üstüne entegre etmeyi fakat projem telefon üzerinde tıklandığı zaman açılmadan kapanıyor /durduruldu hatası veriyor sizce bunun sebebi ne olabilr ? Manifest'de dahil tüm gerekenleri uygun bir şekilde yapmaya çalıştım ama telefon üzerinde "durduruldu"hatası alıyorum. Bahsettiğim site :http://www.tutorialspoint.com/android/android_audio_capture.htm

 

Teşekkürler şimdiden.

13 Görüntülenme

1 Cevap

Sitedeki sorulara cevap verebilmek için giriş yapın ya da üye olun.

picture-7661-1418285218.jpg
zafermuhammed93
18.12.2014 - 09:49

kardeşm sende ne hatası veriyor log kayıtları paylaşırmısın

Mert Akkartal
19.12.2014 - 12:02
Şu şekilde bir log çıktısı alıyorum kardeş. 12-19 00:01:47.951 22329-22329/com.davidgassner.plainolnotes I/PersonaManager﹕ getPersonaService() name persona_policy 12-19 00:01:47.971 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:48 height:48 bitmap id is 180 12-19 00:01:47.971 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:72 height:72 bitmap id is 181 12-19 00:01:47.981 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:72 height:72 bitmap id is 182 12-19 00:01:47.981 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:13 height:41 bitmap id is 183 12-19 00:01:47.981 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:18 height:18 bitmap id is 184 12-19 00:01:47.981 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:18 height:18 bitmap id is 185 12-19 00:01:47.981 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:18 height:18 bitmap id is 186 12-19 00:01:47.991 22329-22329/com.davidgassner.plainolnotes E/MoreInfoHPW_ViewGroup﹕ Parent view is not a TextView 12-19 00:01:48.001 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:72 height:72 bitmap id is 187 12-19 00:01:48.001 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:72 height:72 bitmap id is 188 12-19 00:01:48.001 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:72 height:72 bitmap id is 189 12-19 00:01:48.011 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:30 height:30 bitmap id is 190 12-19 00:01:48.021 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:13 height:41 bitmap id is 191 12-19 00:01:48.021 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:18 height:18 bitmap id is 192 12-19 00:01:48.021 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:18 height:18 bitmap id is 193 12-19 00:01:48.021 22329-22329/com.davidgassner.plainolnotes D/AbsListView﹕ Get MotionRecognitionManager 12-19 00:01:48.031 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:96 height:96 bitmap id is 194 12-19 00:01:48.031 22329-22329/com.davidgassner.plainolnotes D/AndroidRuntime﹕ Shutting down VM 12-19 00:01:48.031 22329-22329/com.davidgassner.plainolnotes W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0x41828da0) 12-19 00:01:48.041 22329-22329/com.davidgassner.plainolnotes E/AndroidRuntime﹕ FATAL EXCEPTION: main Process: com.davidgassner.plainolnotes, PID: 22329 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.davidgassner.plainolnotes/com.davidgassner.plainolnotes.MainActivity}: java.lang.NullPointerException at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2394) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2452) at android.app.ActivityThread.access$900(ActivityThread.java:172) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1302) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5586) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.NullPointerException at com.davidgassner.plainolnotes.MainActivity.onCreate(MainActivity.java:45) at android.app.Activity.performCreate(Activity.java:5451) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2358)             at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2452)             at android.app.ActivityThread.access$900(ActivityThread.java:172)             at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1302)             at android.os.Handler.dispatchMessage(Handler.java:102)             at android.os.Looper.loop(Looper.java:136)             at android.app.ActivityThread.main(ActivityThread.java:5586)             at java.lang.reflect.Method.invokeNative(Native Method)             at java.lang.reflect.Method.invoke(Method.java:515)             at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)             at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)             at dalvik.system.NativeStart.main(Native Method)
Mert Akkartal
19.12.2014 - 12:08
http://s3.dosya.tc/server29/tMcM05/Log.docx.html karmaşık geldiyse de dosya linkini de attım buraya kardeş